#!/usr/bin/python
# -*- coding:utf-8 -*-
# @author  : micah
# @time    :  
# @function: 
# @version :

data_list = [1, 'micah', 2, '安娜', 3, '双双']

print(data_list[3])
print(data_list[1:6])
print(data_list[::-1])

for item in data_list:
    print(item)

# 计数器
i = 0
while i < len(data_list):
    print(data_list[i])
    i += 1


str_data = 'abc'
print(len(str_data))
print(len(data_list))